package com.xiaohe66.web.domain.im.repository;

import com.xiaohe66.web.domain.account.value.AccountId;
import com.xiaohe66.web.domain.im.agg.ImUser;
import com.xiaohe66.web.domain.im.value.ImUserId;
import com.xiaohe66.web.integration.domain.Repository;

import java.util.List;

/**
 * @author xiaohe
 * @since 2023-09-07 16:22
 */
public interface ImUserRepository extends Repository<ImUser, ImUserId> {

    ImUser getByCreateId(AccountId createId);

    List<ImUser> listAll();

}
